package com.bookcity.front.webfront.vo;

/**
 * @author oldliu
 * @since 1.0
 */

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 获得登录信息
 * 格式
 * {
 *   "appid": "ttabc****",
 *   "secret": "d428**************7",
 *   "anonymous_code": "",
 *   "code": "iOyVA5hc*******"
 * }
 */
@Data //set get
@ToString//toString
@NoArgsConstructor
@AllArgsConstructor
public class Login {
    private String appid;
    private String secret;
    private String code;
    private String grant_type="client_credential";
    private String anonymous_code;

    public Login(String appid, String secret, String code) {
        this.appid = appid;
        this.secret = secret;
        this.code = code;
    }
}
